<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>资料编辑</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<style>
#datainfotable td{
	border:none !important;
}
#button{
	border-radius:10px;
	margin-left: 10px;
	width: 100px;
	height: 30px;
	border: none;
	font-size: 16px;
	color: #fff;
	background-color: #47a4e1;
	}
	
	.td{
	font-size: 16px;
	border:none;
	text-align:left;
	width: 200px;
	}
	.t{
	margin-left:16px;
	font-size: 16px;
	border:none;
	text-align:left;
	width: 400px;
	}

</style>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="calendar/WdatePicker.js"></script>

</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="main.do">首页</a>&nbsp;-&nbsp;
				<a href="datainfo.do">资料库管理</a>&nbsp;-</span>&nbsp;资料编辑
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
				<form action="updatadatainfo.do" method="post" enctype="multipart/form-data">
					<div class="baTopNo">
						<span>基本信息</span>
						<hr>
					</div>
					<div class="baBody" >
						<table id="datainfotable">	
							<tr class="bbD" >
								
								<td class="td">资料名称：</td>
								<td>
									<input type="hidden" class="input3" name="id" value="${datainfo.id }"/>
									<input type="text" class="input3" name="name" value="${datainfo.name }"/>
								</td>		
							</tr>
							<tr class="bbD">
								<td class="td">资料分类：</td>
								<td>
								
									<select class="input3" name="type" style="width:302px">
										<option value="1" <c:if test="${datainfo.type==1 }">selected="selected"</c:if>>培训</option>
										<option value="2" <c:if test="${datainfo.type==2 }">selected="selected"</c:if>>产品</option>
										<option value="3" <c:if test="${datainfo.type==3 }">selected="selected"</c:if>>FAQ</option>
									</select>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">上传文件：</td>
								<td>
									<input type="file" class="input3" id="f" name="file" style="padding-top:20px;"/>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">备注：</td>
								<td class="btext2">
									<textarea class="input3" name="remark" style="width: 300px;height:150px;font-size: 16px;">${datainfo.remark }</textarea>
								</td>
							</tr>					
							<tr class="bbD">
								<td class="td">发布人：</td>
								<td>
									<input type="text" class="input3" name="issuer" value="${datainfo.issuer }"/>
								</td>
							</tr>
							<!-- <tr class="bbD">
								<td class="td">发布日期：</td>
								<td>
									<input type="text" class="input3" name="begintime" onclick="WdatePicker()" readonly="readonly"/>
								</td>
							</tr> -->
						</table>
						<br>
							<input class="input3" type="submit" value="修改" id="button" style="text-align:center;border:none"  />
						<br><br>
					</div>
				</form>		
			</div>

			<!-- 上传广告页面样式end -->
		</div>
	</div>
</body>
</html>